<!DOCTYPE html>
<html lang="zh-CN" class="index_page">
<head>
	{template header}
	<title>{$corp[corpname]} - 商家店铺 - {$mymps_global[SiteName]}</title>
	<link type="text/css" rel="stylesheet" href="template/css/global.css">
	<link type="text/css" rel="stylesheet" href="template/css/style.css">
    <link type="text/css" rel="stylesheet" href="template/css/corplist.css">
    <link type="text/css" rel="stylesheet" href="template/css/filter.css">
    <script>window['current'] = '{$corp[corpname]}';</script>
	<script src="template/js/jq_min.211.js"></script>
    <script src="template/js/common.js"></script>
    <script src="template/js/iscroll.js"></script>
    <script>
    document.addEventListener('DOMContentLoaded',function(){
        window['myScroll_parent'] = null;
        window['myScroll_inner'] = null;
        showFilter({ibox:'filter2',content1:'parent_container',content2:'inner_container',fullbg:'fullbg'});
    },false);
    </script>
</head>

<body class="{$mymps_global[cfg_tpl_dir]}">
<div class="body_div">

    {template header_search}
    <div id="mask" onclick="maskHide();"></div>

	<div class="dl_nav" style="display:none;">
		<span><a href="index.php">首页</a><font class="raquo"></font><a href="index.php?mod=corp">商家机构</a>
        {loop $parentcats $mymps}
        <font class="raquo"></font><a href="index.php?mod=corp&cityid={$cityid}&catid={$mymps[corpid]}">{$mymps[corpname]}</a>
        {/loop}
        </span>
	</div>
	
    <div class="filter2" id="filter2">
    
        <ul class="tab cfix">
            <li class="item"><a href="javascript:void(0);"><span id="str_a_node">分类</span><em></em></a></li>
            <li class="item"><a href="javascript:void(0);"><span id="str_b_node">区域</span><em></em></a></li>
            {loop $mymps_extra_model $mymps}
            <li class="item"><a href="javascript:void(0);"><span id="str_{$mymps[identifier]}_node">{echo cutstr($mymps[title],8)}</span><em></em></a></li>
            {/loop}
        </ul>
        
        <div class="inner" style="display:none;">
            {loop $ypcategory $k $mymps}
            <ul>
                <a class="{echo $mymps[corpid] == $catid ? 'selected' : '';}" href="index.php?mod=corp&catid={$mymps[corpid]}" class="t">不限</a></li>
                {loop $mymps[children] $u $w}
                <a class="{echo $w[corpid] == $catid ? 'selected' : '';}" href="index.php?mod=corp&catid={$w[corpid]}">{$w[corpname]}</a>
                {/loop}
            </ul>
            {/loop} 
        </div>
        
        <div class="inner" style="display:none;">
            <ul>
                <a class="{echo empty($areaid) ? 'selected' : '';}" href="index.php?mod=corp&catid={$catid}" class="t">不限</a></li>
                {loop $area_list $k $mymps}
                <a class="{echo $mymps[areaid] == $areaid ? 'selected' : '';}" href="index.php?mod=corp&catid={$catid}&areaid={$mymps[areaid]}">{$mymps[areaname]}</a>
                {/loop}
            </ul>
        </div>
        
        <div class="inner_parent" id="parent_container" style="display:none;"><div class="innercontent"></div></div>
        <div class="inner_child" id="inner_container" style="display:none;"><div class="innercontent"></div></div>
    </div>
	<div class="fullbg" id="fullbg" style="display:none;"><i class="pull2"></i></div>
	<!--<div class="filtate-outter">

    <div class="list-filtrate">
        <section class="filtrate-nav">
            <ul>
                <li class="filter_li" id="filter_catid"> <a href="javascript:filterShow('catid');">分类<i class="filt-arrow"></i></a> </li>
                <li class="filter_li" id="filter_areaid"> <a href="javascript:filterShow('areaid');">区域<i class="filt-arrow"></i></a> </li>
            </ul>
        </section>
       
        <div class="filt-container">
        
            {loop $ypcategory $k $mymps}
            <div class="filt-open" id="filter-catid">
                <div class="warpper box-flex1 bg-white" data-key="district" style="height: 286px;">
                    <ul class="">
                    	<li {echo $mymps[corpid] == $catid ? 'class="active"' : '';}><a href="index.php?mod=corp&catid={$mymps[corpid]}">不限</a></li>
                        {loop $mymps[children] $u $w}
                        <li {echo $w[corpid] == $catid ? 'class="active"' : '';}><a href="index.php?mod=corp&catid={$w[corpid]}">{$w[corpname]}</a></li>
                        {/loop}
                    </ul>
                </div>
            </div>
            {/loop}
            <div class="filt-open" id="filter-areaid">
                <div class="warpper box-flex1 bg-white" data-key="district" style="height: 400px; overflow-style:marquee-block">
                    <ul class="">
                    	<li class="{echo $areaid == 0 ? 'active' : '';}"><a href="index.php?mod=corp&catid={$catid}">不限</a></li>
                    	{loop $area_list $k $mymps}
                        <li class="zone {echo $mymps[areaid] == $areaid ? 'active' : '';}" id="zone_{$mymps[areaid]}"><a href="index.php?mod=corp&catid={$catid}&areaid={$mymps[areaid]}">{$mymps[areaname]}</a></li>
                        {/loop}
                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>-->

    <ul class="search-list J_list">
    {loop $member $mymps}
    <li>
        <a class="item Fix" href="index.php?mod=store&id={$mymps[id]}">
            <div class="pic">
                <img src="{$mymps_global[SiteUrl]}{$mymps[prelogo]}">
            </div>
            <div class="content">
                <div class="name">
                    <h3 class="shopname">{echo cutstr($mymps[tname],24)}
                    </h3>
                </div>
                <div class="comment">
                        <span>{$mymps[tel]}</span>

                </div>
                <div class="intro Fix">
                    <span class="type">{echo cutstr($mymps[address],30)}</span>
                    
                </div>
            </div>
        </a>
    </li>
    {loopelse}
    <li style="padding:50px 0; text-align:center;">没有找到相关机构店铺！<a href="javascript:history.back(-1);">返回</a></li>
    {/loop}
    {if $member}
	<div class="pager" style="border-top:none;border-bottom:1px #ddd solid;">
    {$pageview}
	</div>
	{/if}
</ul>
{template footer}
</div>
</body>
</html>